package com.symria.server.po;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * DailyReport entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "DAILY_REPORT")
public class DailyReport implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer addCount;
	private Integer activeCount;
	private Date createDate;
	private Integer requestCount;
	private Integer showCount;
	private Integer clickCount;
	private Integer actionCount;
	private Integer appCount;

	// Constructors

	/** default constructor */
	public DailyReport() {
	}

	/** full constructor */
	public DailyReport(Integer addCount, Integer activeCount, Date createDate,
			Integer requestCount, Integer showCount, Integer clickCount,
			Integer actionCount, Integer appCount) {
		this.addCount = addCount;
		this.activeCount = activeCount;
		this.createDate = createDate;
		this.requestCount = requestCount;
		this.showCount = showCount;
		this.clickCount = clickCount;
		this.actionCount = actionCount;
		this.appCount = appCount;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "ADD_COUNT")
	public Integer getAddCount() {
		return this.addCount;
	}

	public void setAddCount(Integer addCount) {
		this.addCount = addCount;
	}

	@Column(name = "ACTIVE_COUNT")
	public Integer getActiveCount() {
		return this.activeCount;
	}

	public void setActiveCount(Integer activeCount) {
		this.activeCount = activeCount;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_DATE", length = 0)
	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "REQUEST_COUNT")
	public Integer getRequestCount() {
		return this.requestCount;
	}

	public void setRequestCount(Integer requestCount) {
		this.requestCount = requestCount;
	}

	@Column(name = "SHOW_COUNT")
	public Integer getShowCount() {
		return this.showCount;
	}

	public void setShowCount(Integer showCount) {
		this.showCount = showCount;
	}

	@Column(name = "CLICK_COUNT")
	public Integer getClickCount() {
		return this.clickCount;
	}

	public void setClickCount(Integer clickCount) {
		this.clickCount = clickCount;
	}

	@Column(name = "ACTION_COUNT")
	public Integer getActionCount() {
		return this.actionCount;
	}

	public void setActionCount(Integer actionCount) {
		this.actionCount = actionCount;
	}

	@Column(name = "APP_COUNT")
	public Integer getAppCount() {
		return this.appCount;
	}

	public void setAppCount(Integer appCount) {
		this.appCount = appCount;
	}

}